Crate geph4_aioutils

source ·

Traits

Functions

Copies an AsyncRead to an AsyncWrite, with a callback for every write.
Copies an AsyncRead to an AsyncWrite, with an async callback for every write.
Reads a bincode-deserializable value with a 16bbe length
Reads from an async_channel::Receiver, but returns a vector of all available items instead of just one to save on context-switching.
Race two different futures, returning the first non-Err, or an Err if both branches error.
Writes a bincode-serializable value with a 16bbe length

Type Definitions